<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php echo $this->headTitle()?>
<link rel="stylesheet" href="<?php echo TempAdmin?>resources/css/reset.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo TempAdmin?>resources/css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" href="<?php echo TempAdmin?>resources/css/invalid.css" type="text/css" media="screen" />	
<script type="text/javascript" src="<?php echo TempAdmin?>resources/scripts/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="<?php echo TempAdmin?>resources/scripts/simpla.jquery.configuration.js"></script>
<script type="text/javascript" src="<?php echo TempAdmin?>resources/scripts/facebox.js"></script>
<script type="text/javascript" src="<?php echo TempAdmin?>resources/scripts/jquery.wysiwyg.js"></script>
<script type="text/javascript" src="<?php echo TempAdmin?>resources/scripts/jquery.datePicker.js"></script>
<script type="text/javascript" src="<?php echo TempAdmin?>resources/scripts/jquery.date.js"></script>
<script type="text/javascript">
	function test()
	{
		$(".a").addClass("current");
		
		}
</script>
</head>
	<body><div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->
		
		<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->
			
			<h1 id="sidebar-title"><a href="#"><?php echo Title?></a></h1>
		  
			<!-- Logo (221px wide) -->
			<a href="#"><img id="logo" src="<?php echo TempAdmin?>resources/images/logo.png" alt="Simpla Admin logo" /></a>
		  
			<!-- Sidebar Profile links -->
			<div id="profile-links">
				Xin Chào, <a href="#" title="Edit your profile"><?php echo $this->fullName?></a>, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a><br />
				<br />
				<a href="<?php echo DOMAIN?>" title="View the Site">Trang Chủ</a> | <a href="<?php echo ADMIN."/index/logout"?>" title="Sign Out">Đăng Xuất</a>
			</div>        
			
			<ul id="main-nav">  <!-- Accordion Menu -->
				
				<li>
					<a href="<?php echo ADMIN?>" class="nav-top-item no-submenu"> <!-- Add the class "no-submenu" to menu items with no sub menu -->
						Bảng Điều Khiển
					</a>       
				</li>
				
				<li> 
					<a href="#" class="nav-top-item"> <!-- Add the class "current" to current menu item -->
					Quản Lý Danh Mục
					</a>
					<ul>
						<li><a href="<?php echo ADMIN."/menu"?>" >Quản Lý Menu Website</a></li> <!-- Add class "current" to sub menu items also -->
						<li><a href="<?php echo ADMIN."/page"?>" >Quản Lý Trang</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Quản Lý Thông Tin
					</a>
					<ul>
						<li><a href="<?php echo ADMIN."/object/architect"?>">Quản Lý Kiến Trúc Sư</a></li>
						<li><a href="<?php echo ADMIN."/object/product"?>">Quản Lý Sản Phẩm</a></li>
						<li><a href="<?php echo ADMIN."/object/promotion"?>">Quản Lý Khuyến Mãi</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Hình Ảnh
					</a>
					<ul>
						<li><a href="<?php echo ADMIN."/objectphotoprofile"?>">Quản Lý Ảnh Bìa Gian Hàng</a></li>
						<li><a href="<?php echo ADMIN."/objectlibphoto"?>">Quản Lý Dự Án</a></li>
						<li><a href="<?php echo ADMIN."/objectphotoprofile/libphoto"?>">Quản Lý Hình Ảnh Dự Án</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Người Dùng
					</a>
					<ul>
						<li><a href="<?php echo ADMIN."/admin"?>">Quản Lý Người Dùng</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Liên Hệ
					</a>
					<ul>
						<li><a href="<?php echo ADMIN."/contact"?>">Quản Lý Liên Hệ</a></li>
						<li><a href="#">Quản Lý Liên Hệ Khách Với Khách</a></li>
					</ul>
				</li>
				
				<li>
					<a href="#" class="nav-top-item">
						Thiết Lập
					</a>
					<ul>
						<li><a href="#">Phân Quyền</a></li>
						<li><a href="#">Thiết Lập Quyền</a></li>
					</ul>
				</li>      
				
			</ul> <!-- End #main-nav -->
			
			<div id="messages" style="display: none"> <!-- Messages are shown when a link with these attributes are clicked: href="#messages" rel="modal"  -->
				
				<h3>3 Messages</h3>
			 
				<p>
					<strong>17th May 2012</strong> by Admin<br />
					Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>2nd May 2012</strong> by Jane Doe<br />
					Ut a est eget ligula molestie gravida. Curabitur massa. Donec eleifend, libero at sagittis mollis, tellus est malesuada tellus, at luctus turpis elit sit amet quam. Vivamus pretium ornare est.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
			 
				<p>
					<strong>25th April 2012</strong> by Admin<br />
					Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus magna. Cras in mi at felis aliquet congue.
					<small><a href="#" class="remove-link" title="Remove message">Remove</a></small>
				</p>
				
				<form action="#" method="post">
					
					<h4>New Message</h4>
					
					<fieldset>
						<textarea class="textarea" name="textfield" cols="79" rows="5"></textarea>
					</fieldset>
					
					<fieldset>
					
						<select name="dropdown" class="small-input">
							<option value="option1">Send to...</option>
							<option value="option2">Everyone</option>
							<option value="option3">Admin</option>
							<option value="option4">Jane Doe</option>
						</select>
						
						<input class="button" type="submit" value="Send" />
						
					</fieldset>
					
				</form>
				
			</div> <!-- End #messages -->
			
		</div></div> <!-- End #sidebar -->
		<div id="main-content"> <!-- Main Content Section with everything -->
			
			<noscript> <!-- Show a notification if the user has disabled javascript -->
				<div class="notification error png_bg">
					<div>
						Javascript is disabled or is not supported by your browser. Please <a href="http://browsehappy.com/" title="Upgrade to a better browser">upgrade</a> your browser or <a href="http://www.google.com/support/bin/answer.py?answer=23852" title="Enable Javascript in your browser">enable</a> Javascript to navigate the interface properly.
					</div>
				</div>
			</noscript>
			
			<!-- Page Head -->
			<h2>Welcome <?php echo $this->fullName?></h2>
			<p id="page-intro">Bạn sử dụng trang : <strong><?php echo $this->title?></strong></p>
			<?php echo $this->layout()->content?>
					
			<?php echo $this->render("/public/footer.phtml")?>
			
		</div> <!-- End #main-content -->
	</div></body>
</html>
